
                      
                       INTERIOR LIBRARY FORMAT DEFINITION
                      

 1.  The file "INTERIOR.LIB" contain a list of shapes definitions.


 2.  Each shape definition begin with a title line:

     SHAPE <Name> <Pen>

       where:

         * The word SHAPE is a key-word which identify a new shape.

         * <Name> is the shape name, up to 11 characters.

         * <Pen> is a single pen number for the all shape (nonzero).

         * All parameters are separated by spaces.


 3.  The following lines are layer definitions for this shape.
     Each line define a layer:

     <Rotate> <RunDist> <OffDist> <OriginY> <OriginX> <LineType>

       where:

         * <Rotate> is the azimuth of the layer parallel lines, in decimal
           degree (DDD.dddd).

         * <RunDist> is the run distance between the parallel lines,
           in centimeters.
           Positive when moving from one line type origin to the next:
              forward and right, or
              backward and left.
           Negative when moving from one line type origin to the next:
              forward and left, or
              backward and right.

         * <OffDist> is the offset distance between the parallel lines,
           in centimeters (always positive).

         * <OriginY> <OriginX> is a location on one of the parallel lines,
           where a new line type cycle begin, in centimeters.

         * <LineType> is a list of distance values (in centimeters)
           representing the parallel lines one-dimension line type.
           All values are positive. The first value stands for a solid part,
           the next for a space, and so on until the list end.
           If only one zero value exist in the list - this is a solid
           line type.

         * All parameters are real type and separated by spaces.

 4.  So, the structure of "INTERIOR.LIB" file is:

     SHAPE <Name> <Pen>
     <Rotate> <RunDist> <OffDist> <OriginY> <OriginX> <LineType>
     <Rotate> <RunDist> <OffDist> <OriginY> <OriginX> <LineType>
     <Rotate> <RunDist> <OffDist> <OriginY> <OriginX> <LineType>
     ....
     SHAPE <Name> <Pen>
     <Rotate> <RunDist> <OffDist> <OriginY> <OriginX> <LineType>
     <Rotate> <RunDist> <OffDist> <OriginY> <OriginX> <LineType>
     <Rotate> <RunDist> <OffDist> <OriginY> <OriginX> <LineType>
     ....
     <end of file>


 5.  Limits:
       * Maximum shapes in "INTERIOR.LIB" file is 65000.
       * Maximum layers for one shape is 30.
       * Maximum total line type values for a shape is 30.


 6.  Example for "INTERIOR.LIB" file.

     SHAPE magen-david 1
      90 0 3.11769   0       0 1.2 0.6
      90 0 3.11769   0 0.69282 1.2 0.6
      90 0 3.11769 0.9 1.55885 1.2 0.6
      90 0 3.11769 0.9 2.25167 1.2 0.6
      30 0 3.11769   0       0 1.2 0.6
      30 0 3.11769 1.5 1.21244 1.2 0.6
      30 0 3.11769 2.7 1.55884 1.2 0.6
      30 0 3.11769 3.3 1.21243 1.2 0.6
     330 0 3.11769 1.5 1.21244 1.2 0.6
     330 0 3.11769 2.1 1.55885 1.2 0.6
     330 0 3.11769 3.3 1.21243 1.2 0.6
     330 0 3.11769 3.9 1.55884 1.2 0.6
